package com.mdinfo.system.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2017/11/22.
 * 角色实体类
 */
@TableName("sys_role")
@Data
public class SysRole extends Model<SysRole>{
    private Integer id;
    private String name;            //名称
    private String description;     //描述
    private Integer orderNum;       //排序
    private Date createTime;        //创建时间

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
